package com.quick.config;

import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.quick.Quick;
@Configuration(proxyBeanMethods = false)
@EnableConfigurationProperties(QuickProperties.class)
public class QuickAutoConfiguration {
	@Autowired
	private QuickProperties quickProperties;

    @Bean
    Quick quick() {
    	Quick quick = new Quick();
    	Map<String, Object> basis = new HashMap<>();
    	basis.put("basis", quickProperties);
    	quick.setDevelop(basis);
		return quick;
	}
}
